home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / js.xml < prev    next >
Text File  |  2002-08-30  |  5KB  |  104 lines

  1. <search function="js">
  2.   <name>Jobserve</name>
  3.   <description>
  4.     European specialist job search site. The /market switch is required to select the area to search.<br/>
  5.     <div class="helpboxDescLabels">Usage:</div>
  6.       <table class="helpboxDescTable">
  7.           <tr><td>js <<i>job</i>> /market:<<i>market</i>> [{/permanent | /contract}] [/latest]</td></tr>
  8.       </table>
  9.     <div class="helpboxDescLabels">Switches:</div>
  10.       <table class="helpboxDescTable">
  11.           <tr><td>/market</td><td> - </td><td>
  12.         Select the job market to search using one of the following codes:<br/>
  13.         <table class="helpboxDescTable">
  14.               <tr><td><b>it</b></td><td> - </td><td>Information Technology</td></tr>
  15.           <tr><td><b>acc</b></td><td> - </td><td>Accountancy</td></tr>
  16.           <tr><td><b>eng</b></td><td> - </td><td>Engineering</td></tr>
  17.           <tr><td><b>sal</b></td><td> - </td><td>Sales & Marketing</td></tr>
  18.           <tr><td><b>fin</b></td><td> - </td><td>Finance & Insurance</td></tr>
  19.           <tr><td><b>sec</b></td><td> - </td><td>Office & Administration</td></tr>
  20.           <tr><td><b>leg</b></td><td> - </td><td>Legal</td></tr>
  21.           <tr><td><b>med</b></td><td> - </td><td>Medical</td></tr>
  22.           </table>
  23.       </td></tr>
  24.       <tr><td>/permanent</td><td> - </td><td>Search for permanent positions only.</td></tr>
  25.       <tr><td>/contract</td><td> - </td><td>Search for temporary/contract positions only.</td></tr>
  26.       <tr><td>/latest</td><td> - </td><td>Search for the latest additions instead of the best overall matches.</td></tr>
  27.       </table>
  28.     <div class="helpboxDescLabels">Examples:</div>
  29.     <table class="helpboxDescTable">
  30.           <tr><td>js programmer /market:it</td></tr>
  31.       <tr><td>js legal secretary /market:leg /permanent /latest</td></tr>
  32.       </table>
  33.   </description>
  34.   <category>Other</category>
  35.   <link>http://www.jobserve.com/</link>
  36.   <contributor>Ryan Edwards, Tom Corcoran</contributor>
  37.   
  38.   <form name="jsf"
  39.         method="get">
  40.     <input type="hidden" name="page" value="1"/>
  41.     <input type="hidden" name="q" value=""/>
  42.     <input type="hidden" name="jobType" value=""/>
  43.     <input type="hidden" name="order" value=""/>
  44.     <input type="hidden" name="d" value="5"/>
  45.   </form>
  46.   
  47.   <script><![CDATA[
  48.     function js(q)
  49.     {
  50.       document.jsf.jobType.value = "*";
  51.       document.jsf.order.value = "Rank";
  52.       var jobMarket;
  53.  
  54.       if( nullArgs("js",q) )
  55.         return false;
  56.       else
  57.       {
  58.         var args = parseArgs(q, "market, contract, permanent, latest");
  59.         
  60.         if( args.switches.length > 0 )
  61.           for( var j=0; j<args.switches.length; j++ )
  62.             switch( args.switches[j].name )
  63.             {
  64.               case "market":
  65.                 if(jobMarket) 
  66.                 { 
  67.                   nullArgs("js","?"); 
  68.                   return false; 
  69.                 } 
  70.                 else
  71.                   jobMarket = args.switches[j].value;
  72.                 break;
  73.                 
  74.               case "contract": document.jsf.jobType.value = "C"; break;
  75.               case "permanent": document.jsf.jobType.value = "P"; break;
  76.               case "latest": document.jsf.order.value = "DateTime"; break;
  77.             }
  78.         
  79.         switch( jobMarket )
  80.         {
  81.           case "it": document.jsf.action = "http://www.it.jobserve.com/jobserve/searchresults.asp"; break;
  82.           case "acc": document.jsf.action = "http://www.accountancy.jobserve.com/jobserve/searchresults.asp"; break;
  83.           case "eng": document.jsf.action = "http://www.engineering.jobserve.com/jobserve/searchresults.asp"; break;
  84.           case "sal": document.jsf.action = "http://www.sales.jobserve.com/jobserve/searchresults.asp"; break;
  85.           case "fin": document.jsf.action = "http://www.financial.jobserve.com/jobserve/searchresults.asp"; break;
  86.           case "sec": document.jsf.action = "http://www.secretarial.jobserve.com/jobserve/searchresults.asp"; break;
  87.           case "leg": document.jsf.action = "http://www.legal.jobserve.com/jobserve/searchresults.asp"; break;
  88.           case "med": document.jsf.action = "http://www.medical.jobserve.com/jobserve/searchresults.asp"; break;
  89.           default: nullArgs("js","?"); return false;
  90.         }
  91.       }
  92.       
  93.       document.jsf.q.value = args.q;
  94.       submitForm(jsf);
  95.     }
  96.   ]]></script>
  97.  
  98.   <copyright>
  99.     Copyright (c) 2002 David Bau
  100.     Distributed under the terms of the
  101.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  102.   </copyright>
  103. </search>
  104.